package com.ruoyi.act.module.service;

import com.ruoyi.act.module.domain.ActBizInfo;
import io.jsonwebtoken.Claims;

import javax.servlet.http.HttpServletRequest;

public interface IJJwtService {

    ActBizInfo getTenant(HttpServletRequest request);

    String createToken(ActBizInfo actBizInfo);

    Claims parseToken(String token);

    String getToken(HttpServletRequest request);

    void verifyToken(ActBizInfo actBizInfo);

    void refreshToken(ActBizInfo actBizInfo);
}
